/*
 * 
 *  This file is part of Sourceprojects.org Thracia.
 *  Copyright 2010 noctarius
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * 
 */
package org.sourceprojects.thracia.report.beans;

import java.util.ArrayList;
import java.util.List;

/**
 * @author noctarius
 * 
 */
public class Report {
	private String product;
	private String hash;
	private Classbase classbase;
	private String release;
	private String date;
	private long millis;
	private int sequence;
	private String logger;
	private String trigger;
	private String method;
	private long threadid;
	private int priority;
	private String errormsg;
	private List<Stacktrace> stacktrace;
	private List<Threadgroup> threads;
	private Jvm jvm;

	public Report() {
		stacktrace = new ArrayList<Stacktrace>();
		threads = new ArrayList<Threadgroup>();
	}

	public final Classbase getClassbase() {
		return classbase;
	}

	public String getDate() {
		return date;
	}

	public String getErrormsg() {
		return errormsg;
	}

	public String getHash() {
		return hash;
	}

	public Jvm getJvm() {
		return jvm;
	}

	public String getLogger() {
		return logger;
	}

	public String getMethod() {
		return method;
	}

	public long getMillis() {
		return millis;
	}

	public int getPriority() {
		return priority;
	}

	public String getRelease() {
		return release;
	}

	public int getSequence() {
		return sequence;
	}

	public List<Stacktrace> getStacktrace() {
		return stacktrace;
	}

	public long getThreadid() {
		return threadid;
	}

	public List<Threadgroup> getThreads() {
		return threads;
	}

	public String getTrigger() {
		return trigger;
	}

	public final void setClassbase(Classbase classbase) {
		this.classbase = classbase;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public void setErrormsg(String errormsg) {
		this.errormsg = errormsg;
	}

	public void setHash(String hash) {
		this.hash = hash;
	}

	public void setJvm(Jvm jvm) {
		this.jvm = jvm;
	}

	public void setLogger(String logger) {
		this.logger = logger;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public void setMillis(long millis) {
		this.millis = millis;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public void setRelease(String release) {
		this.release = release;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public void setStacktrace(List<Stacktrace> stacktrace) {
		this.stacktrace = stacktrace;
	}

	public void setThreadid(long threadid) {
		this.threadid = threadid;
	}

	public void setThreads(List<Threadgroup> threads) {
		this.threads = threads;
	}

	public void setTrigger(String trigger) {
		this.trigger = trigger;
	}

	public final String getProduct() {
		return product;
	}

	public final void setProduct(String product) {
		this.product = product;
	}
}
